using System;
using DatabaseService.DatabaseDAO;

namespace You.DatabaseModel
{
    /// <summary>
    /// account_user表
    /// <summary>
    public class AccountUserMapper : TableModelMapper
    {
        #region 表字段
        private string _account ="";
        private string _password ="";
        private string _name ="";
        private int _job_num;
        private int _authority;
        private string _department ="";
        private string _telephone ="";
        private string _create_time ="";
        private string _changed_time ="";
        private string _notes ="";
        private int _remember;
        #endregion

        /// <summary>
        /// 
        /// </summary>
        public string Account { get => _account; set => Set(nameof(Account), ref _account, value); }
        /// <summary>
        /// 
        /// </summary>
        public string Password { get => _password; set => Set(nameof(Password), ref _password, value); }
        /// <summary>
        /// 
        /// </summary>
        public string Name { get => _name; set => Set(nameof(Name), ref _name, value); }
        /// <summary>
        /// 
        /// </summary>
        public int JobNum { get => _job_num; set => Set(nameof(JobNum), ref _job_num, value); }
        /// <summary>
        /// 
        /// </summary>
        public int Authority { get => _authority; set => Set(nameof(Authority), ref _authority, value); }
        /// <summary>
        /// 
        /// </summary>
        public string Department { get => _department; set => Set(nameof(Department), ref _department, value); }
        /// <summary>
        /// 
        /// </summary>
        public string Telephone { get => _telephone; set => Set(nameof(Telephone), ref _telephone, value); }
        /// <summary>
        /// 
        /// </summary>
        public string CreateTime { get => _create_time; set => Set(nameof(CreateTime), ref _create_time, value); }
        /// <summary>
        /// 
        /// </summary>
        public string ChangedTime { get => _changed_time; set => Set(nameof(ChangedTime), ref _changed_time, value); }
        /// <summary>
        /// 
        /// </summary>
        public string Notes { get => _notes; set => Set(nameof(Notes), ref _notes, value); }
        /// <summary>
        /// 
        /// </summary>
        public int Remember { get => _remember; set => Set(nameof(Remember), ref _remember, value); }
    }
}
